import axios from "@/utils/request";

//获取登录信息

export const getLogin = (params) => {
  return axios.get(`/getLogin?user=${params.user}&psd=${params.psd}`);
};

//获取权限菜单

export const getMenus = (params) => {
  return axios.get(`/getMenus?role=${params}`);
};
